package com.shop.record.service;

import com.shop.record.pojo.t_storage_record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @PackgeName: com.shop.record.service
 * @ClassName: t_storage_recordService
 * @Author: 比巴卜
 * Date: 2021/7/23 10:17
 * project name: shop
 * @Version: 1.8
 * @Description:
 */
public interface t_storage_record_Service {
    /**
     * 分页模糊查询
     *
     * @return
     */
    List<t_storage_record> Select(Integer pageNum, @Param("goodsName") String goodsName, @Param("goodsDesc") String goodsDesc, @Param("goodsUnit") String goodsUnit);

    /**
     * 添加信息
     *
     * @param record
     * @return
     */
    int Insert(t_storage_record record);

    /**
     * 修改信息
     *
     * @param record
     * @return
     */
    int Update(t_storage_record record);

    /**
     * 删除信息
     *
     * @param id
     * @return
     */
    int Delete(@Param("id") Integer id);
}
